package com.yangyouli.unity_demo_server.server.serializeModel;

import java.util.List;

public class Room {
    private String roomId;
    private RoomUser master;
    private List<RoomUser> players;
    private List<String> itemsId;
    private int maxPeople; // 最大人数
    private int mode; // 模式
    private boolean start;
	
	public Room () {}

	public Room(String roomId, RoomUser master, List<RoomUser> players, List<String> itemsId, 
			int maxPeople, int mode, boolean start) {
		super();
		this.roomId = roomId;
		this.master = master;
		this.players = players;
		this.itemsId = itemsId;
		this.maxPeople = maxPeople;
		this.mode = mode;
		this.start = start;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public RoomUser getMaster() {
		return master;
	}

	public void setMaster(RoomUser master) {
		this.master = master;
	}

	public List<RoomUser> getPlayers() {
		return players;
	}

	public void setPlayers(List<RoomUser> players) {
		this.players = players;
	}

	public List<String> getItemsId() {
		return itemsId;
	}

	public void setItemsId(List<String> itemsId) {
		this.itemsId = itemsId;
	}

	public int getMaxPeople() {
		return maxPeople;
	}

	public void setMaxPeople(int maxPeople) {
		this.maxPeople = maxPeople;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public boolean isStart() {
		return start;
	}

	public void setStart(boolean start) {
		this.start = start;
	}
}
